<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            width: 400px;
            height: 200px;
            border: 2px solid black;
            border-collapse: collapse;
        }
        tr td{
            border: 2px solid black;
        }
        .two{
            text-align: right;
        }
        .top{
            font-weight: bold;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="box">
        <table>
            <tr>
                <td colspan="2" class="top">用户登录</td>
            </tr>
            <tr>
                <td class="two">用户名:</td>
                <td><input type="text"></td>
            </tr>
            <tr>
                <td class="two">密码:</td>
                <td><input type="password" name="" id=""></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <button type="submit">注册</button>
                    <button type="reset">取消</button>
                </td>
            </tr>
     
         </table>
    </div>
</body>
</html>